/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2019-2022. All rights reserved.
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 and
 * only version 2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 *
 * Description:
 * Author: huawei
 * Create: 2019-10-15
 */

#ifndef HILINK_FW_DSAPI_CSR_REG_OFFSET_FIELD_H
#define HILINK_FW_DSAPI_CSR_REG_OFFSET_FIELD_H

/* FW_DSAPI_DSR0_REG */
#define FW_DSAPI_CSR_0_BIT26_LEN 1
#define FW_DSAPI_CSR_0_BIT26_OFFSET 26
#define FW_DSAPI_CSR_0_BIT25_LEN 1
#define FW_DSAPI_CSR_0_BIT25_OFFSET 25
#define FW_DSAPI_CSR_0_BIT0_LEN 21
#define FW_DSAPI_CSR_0_BIT0_OFFSET 0

/* FW_DSAPI_DSR1_REG */
#define FW_DSAPI_CSR_1_BIT27_LEN 1
#define FW_DSAPI_CSR_1_BIT27_OFFSET 27
#define FW_DSAPI_CSR_1_BIT0_LEN 22
#define FW_DSAPI_CSR_1_BIT0_OFFSET 0

/* FW_DSAPI_DSR3_REG */
#define FW_DSAPI_CSR_3_BIT24_LEN 1
#define FW_DSAPI_CSR_3_BIT24_OFFSET 24
#define FW_DSAPI_CSR_3_BIT21_LEN 3
#define FW_DSAPI_CSR_3_BIT21_OFFSET 21
#define FW_DSAPI_CSR_3_BIT18_LEN 3
#define FW_DSAPI_CSR_3_BIT18_OFFSET 18
#define FW_DSAPI_CSR_3_BIT0_LEN 18
#define FW_DSAPI_CSR_3_BIT0_OFFSET 0

/* FW_DSAPI_DSR4_REG */
#define FW_DSAPI_CSR_4_BIT24_LEN 1
#define FW_DSAPI_CSR_4_BIT24_OFFSET 24
#define FW_DSAPI_CSR_4_BIT21_LEN 3
#define FW_DSAPI_CSR_4_BIT21_OFFSET 21
#define FW_DSAPI_CSR_4_BIT18_LEN 3
#define FW_DSAPI_CSR_4_BIT18_OFFSET 18
#define FW_DSAPI_CSR_4_BIT0_LEN 1
#define FW_DSAPI_CSR_4_BIT0_OFFSET 0

/* FW_DSAPI_DSR5_REG */
#define FW_DSAPI_CSR_5_BIT24_LEN 1
#define FW_DSAPI_CSR_5_BIT24_OFFSET 24
#define FW_DSAPI_CSR_5_BIT21_LEN 3
#define FW_DSAPI_CSR_5_BIT21_OFFSET 21
#define FW_DSAPI_CSR_5_BIT18_LEN 3
#define FW_DSAPI_CSR_5_BIT18_OFFSET 18
#define FW_DSAPI_CSR_5_BIT0_LEN 18
#define FW_DSAPI_CSR_5_BIT0_OFFSET 0

/* FW_DSAPI_DSR6_REG */
#define FW_DSAPI_CSR_6_BIT24_LEN 1
#define FW_DSAPI_CSR_6_BIT24_OFFSET 24
#define FW_DSAPI_CSR_6_BIT21_LEN 3
#define FW_DSAPI_CSR_6_BIT21_OFFSET 21
#define FW_DSAPI_CSR_6_BIT18_LEN 3
#define FW_DSAPI_CSR_6_BIT18_OFFSET 18
#define FW_DSAPI_CSR_6_BIT0_LEN 18
#define FW_DSAPI_CSR_6_BIT0_OFFSET 0

/* FW_DSAPI_DSR7_REG */
#define FW_DSAPI_CSR_7_BIT24_LEN 1
#define FW_DSAPI_CSR_7_BIT24_OFFSET 24
#define FW_DSAPI_CSR_7_BIT21_LEN 3
#define FW_DSAPI_CSR_7_BIT21_OFFSET 21
#define FW_DSAPI_CSR_7_BIT18_LEN 3
#define FW_DSAPI_CSR_7_BIT18_OFFSET 18
#define FW_DSAPI_CSR_7_BIT0_LEN 18
#define FW_DSAPI_CSR_7_BIT0_OFFSET 0

/* FW_DSAPI_DSR10_REG */
#define FW_DSAPI_CSR_10_BIT28_LEN 4
#define FW_DSAPI_CSR_10_BIT28_OFFSET 28
#define FW_DSAPI_CSR_10_BIT20_LEN 7
#define FW_DSAPI_CSR_10_BIT20_OFFSET 20
#define FW_DSAPI_CSR_10_BIT16_LEN 4
#define FW_DSAPI_CSR_10_BIT16_OFFSET 16
#define FW_DSAPI_CSR_10_BIT12_LEN 4
#define FW_DSAPI_CSR_10_BIT12_OFFSET 12
#define FW_DSAPI_CSR_10_BIT8_LEN 3
#define FW_DSAPI_CSR_10_BIT8_OFFSET 8
#define FW_DSAPI_CSR_10_BIT0_LEN 8
#define FW_DSAPI_CSR_10_BIT0_OFFSET 0

/* FW_DSAPI_DSR11_REG */
#define FW_DSAPI_CSR_11_BIT31_LEN 1
#define FW_DSAPI_CSR_11_BIT31_OFFSET 31
#define FW_DSAPI_CSR_11_BIT29_LEN 1
#define FW_DSAPI_CSR_11_BIT29_OFFSET 29
#define FW_DSAPI_CSR_11_BIT27_LEN 1
#define FW_DSAPI_CSR_11_BIT27_OFFSET 27
#define FW_DSAPI_CSR_11_BIT26_LEN 1
#define FW_DSAPI_CSR_11_BIT26_OFFSET 26
#define FW_DSAPI_CSR_11_BIT25_LEN 1
#define FW_DSAPI_CSR_11_BIT25_OFFSET 25
#define FW_DSAPI_CSR_11_BIT24_LEN 1
#define FW_DSAPI_CSR_11_BIT24_OFFSET 24
#define FW_DSAPI_CSR_11_BIT23_LEN 1
#define FW_DSAPI_CSR_11_BIT23_OFFSET 23
#define FW_DSAPI_CSR_11_BIT22_LEN 1
#define FW_DSAPI_CSR_11_BIT22_OFFSET 22
#define FW_DSAPI_CSR_11_BIT21_LEN 1
#define FW_DSAPI_CSR_11_BIT21_OFFSET 21
#define FW_DSAPI_CSR_11_BIT20_LEN 1
#define FW_DSAPI_CSR_11_BIT20_OFFSET 20
#define FW_DSAPI_CSR_11_BIT19_LEN 1
#define FW_DSAPI_CSR_11_BIT19_OFFSET 19
#define FW_DSAPI_CSR_11_BIT18_LEN 1
#define FW_DSAPI_CSR_11_BIT18_OFFSET 18
#define FW_DSAPI_CSR_11_BIT0_LEN 14
#define FW_DSAPI_CSR_11_BIT0_OFFSET 0

#endif